package com.biz.primus.ms.depot.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * UserEmpInfo
 * 员工二维码关系表
 *
 * @author JKLiues
 * @date 2017年11月08日
 */
@Getter
@Setter
@Entity
@Table(name = "tb_user_emp")
public class UserEmpInfo extends BaseEntity {
    private static final long serialVersionUID = -7104099454782452554L;

    /**
     * 员工编号(登录账号)
     */
    @Column(length = 20)
    private String employeeCode;

    /**
     * 二维码凭证
     */
    private String ticket;

    /**
     * 登录token
     */
    @Column(length = 64)
    private String loginToken;
    
    /**
     * 用户推送token
     */
    @Column(length = 64)
    private String pushToken;

    /**
     * 手机操作系统 {ios,android}
     */
    @Column(length = 10)
    private String device;

}